package com.huatai.manage.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huatai.manage.entity.TbTrialSchemeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huatai.manage.vo.TbTrialSchemeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 模板表; Mapper 接口
 * </p>
 *
 * @author luoxc
 * @since 2023-03-16
 */
public interface TbTrialSchemeMapper extends BaseMapper<TbTrialSchemeEntity> {

	List<TbTrialSchemeVo> pageList(Page<TbTrialSchemeEntity> page, @Param("scheme") TbTrialSchemeEntity tbTrialSchemeEntity);

	List<TbTrialSchemeVo> list();

	List<TbTrialSchemeVo> listByTrialId(@Param("trialId") String trialId);

	TbTrialSchemeVo getBySchemeId(@Param("schemeId") String schemeId);
}
